package com.jecy.base.baseproject.base.service;

import com.jecy.base.baseproject.domain.User;
import java.util.Map;

/**
 * @author huijun
 * @date 17-11-2下午5:59
 */

public interface TokenService {

    /**
     * 生成TOKEN
     *
     * @param user
     */
    String generateToken(User user);


    Map<String,String> generateLoginSuccessInfo(User user);


}
